package com.shareyi.simpleserver.handler;

import java.io.IOException;
import java.net.Socket;

import com.shareyi.simpleserver.core.HttpRequest;
import com.shareyi.simpleserver.core.HttpResponse;
import com.shareyi.simpleserver.servlet.ServletException;
import com.shareyi.simpleserver.servlet.WebApplication;




public interface Handler {
	
	public void doHandle(Socket connection,HttpRequest request,HttpResponse response) throws IOException, ServletException;
	
	public void setWebApplication(WebApplication webApplication);
	//public Handler getSingleHandler();
}
